package com.example.demo.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.example.demo.custom.BaseRepository;
import com.example.demo.entity.BackMonkey;
import com.example.demo.entity.BackMonkey2;
import com.example.demo.entity.TargetAndBackMonkey2;
@Repository
public interface BackMonkeyRepository2 extends BaseRepository<BackMonkey2, Integer>{
	
	List<BackMonkey2> findByBackmonkey(BackMonkey sale1);

	BackMonkey2 findByMonthAndYears(Integer month, Integer years);

	List<BackMonkey2> findByBackmonkeyId(Integer id);

}
